package org.gis.mapserver.layer;

import org.gis.mapserver.base.ConfigBean;
import org.common.base.InjectionValidable;
import org.common.base.UniqueID;
import org.gis.mapserver.rendercontext.RenderingContext;
import org.gis.mapserver.source.SourceFactory;

/**
 *
 * @author gus
 */
public interface Layer extends InjectionValidable 
{
    public String getName();
    public void setName(String name);
    
    public UniqueID  getLayerType();
    public long getLayerID();
    public void setLayerID(long id);
    
    public boolean isEnabled();
    public void  setEnabled(boolean enabled);
    
    public ConfigBean getLayerConfigBean();
    public void setLayerConfigBean( ConfigBean layerConfigBean );
    public void setSourceFactory( SourceFactory sourceFactory );
        
    public void  render(RenderingContext context) throws Exception;
}
